package cn.dkk.create_design.factory.abstarct_factory;

import cn.dkk.create_design.factory.pojo.LatteCoffee;
import cn.dkk.create_design.factory.pojo.Tiramisu;
import cn.dkk.create_design.factory.pojo.parent.Coffee;

public class ItalyDesertFactory extends DesertFactory{
    @Override
    Coffee buildCoffee() {
        return new LatteCoffee();
    }

    @Override
    void buildDesert() {
        new Tiramisu().show();
    }
}
